package com.yulebaby.callsenter.task;

import android.app.Activity;

import com.lzy.okgo.model.HttpParams;
import com.yulebaby.callsenter.http.HttpHelper;
import com.yulebaby.callsenter.http.ServerUrls;
import com.yulebaby.callsenter.http.callback.HttpCallback;

/**
 * Author: Zhangbo
 * Time: 2016/11/16
 */
public class RequestSaleCallListTask {

    /**
     * 获取销售所有的通话记录
     *
     * @param activity     获取信息的Acitivty
     * @param httpCallback 回调
     */
    public static void doRequestAllSaleCallList(Activity activity, HttpParams params, HttpCallback httpCallback) {
        HttpHelper.getInstance().get(activity, ServerUrls.OPT_LISTSALECALL, params, httpCallback);
    }

}
